<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/fn.tld" prefix="fn" %>
<div title="维护车辆行驶策略" id="vehicleTravelStrategySelectDialog" class="dialogtitle">
	<div class="searchbox">
		<span class="fontRed">注:</span>带"<span class="fontRed">*</span>"为必填项
		<form id="frmVehicleTravelStrategy" onSubmit="return false">
			<input type="hidden" name="id" value="<c:out value='${vehicleTravelStrategy.id }'/>">
			<table id="vehicleTravelStrategyTable" cellspacing="0" cellpadding="0">
				<tr>
   					<td align="right" style="width:114px;">名称：<span class="fontRed">*</span></td>
   					<td><input type="text" id="name" name="name" style="width: 150px; " value="<c:out value='${vehicleTravelStrategy.name}'/>"></td> 	
   					<td align="right" style="width: 114px;">信号灯状态：<span class="fontRed">*</span></td>
					<td style="width: 114px; ">
						<select id="signalstate" name="signalstate" style="width: 150px; ">
							<option value="">---请选择---</option>
							<c:forEach items="${lstSignalLampStatus}" var="signalLampStatus">
								<option value="${signalLampStatus.code }" ${signalLampStatus.code == vehicleTravelStrategy.signalLampStatus.code ? "selected" : ""}><c:out value="${signalLampStatus.name}"></c:out></option>
							</c:forEach>
						</select>
					</td>				
  				</tr>
  				<tr>
  					<td align="right" style="width: 114px;">行驶方向：<span class="fontRed">*</span></td>
					<td style="width: 114px; ">
						<select id="direction" name="direction" style="width: 160px; ">
							<option value="">---请选择---</option>
							<c:forEach items="${lstTravelDirection}" var="travelDirection">
								<option value="${travelDirection.code }" ${travelDirection.code == vehicleTravelStrategy.travelDirection.code ? "selected" : ""}><c:out value="${travelDirection.name}"></c:out></option>
							</c:forEach>
						</select>
					</td>
					<td align="right" style="width: 140px;">是否可继续通行：<span class="fontRed">*</span></td>
					<td style="width: 114px; ">
						<select id="canmove" name="canmove" style="width: 150px; ">
							<option value="">---请选择---</option>
							<option value="1" ${vehicleTravelStrategy.canmove == 1 ? "selected" : ""}>是</option>
							<option value="0" ${vehicleTravelStrategy.canmove == 0 ? "selected" : ""}>否</option>
						</select>
					</td>						
				</tr> 
           	</table>
  		</form>
  		<div id="infoVehicleTravelStrategy" class="fontRed"></div>
  	</div>
</div>			
<script>
	$("button").button();
</script>
				